package com.zmn.oms.dubbo.interfaces.zmn.channel.order;

import com.zmn.common.dto.ResponseDTO;
import com.zmn.oms.dubbo.dto.zmn.order.*;

/**
 * 类描述：商家渠道订单 remote
 *
 * @author liuying
 * @date 2018/11/07 15:09
 */
public interface ZsChannelOrderRemoteService {

    /**
     * 返修单检查
     *
     * @param checkReworkOrderDIO
     * @return
     */
    ResponseDTO checkReworkOrder(CheckReworkOrderDIO checkReworkOrderDIO);

    /**
     * 获取订单信息
     *
     * @param orderId
     * @return
     */
    ResponseDTO<OrderDRO> getOrderById(Long orderId);

    /**
     * 取消订单
     *
     * @param cancelOrderDIO
     * @return
     */
    ResponseDTO cancelOrder(CancelOrderDIO cancelOrderDIO);

    /**
     * 修改订单
     *
     * @param updateOrderDIO
     * @return
     */
    ResponseDTO<NewOrderDRO> updateOrder(UpdateOrderDIO updateOrderDIO);

    /**
     * 新单
     *
     * @param newOrderDIO
     * @return
     */
    ResponseDTO<NewOrderDRO> addOrder(NewOrderDIO newOrderDIO);
}